package com.bcinfo.iccard.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bcinfo.iccard.model.ComboCardTotalEarnings;

public interface ComboCardTotalEarningsMapper
{
    int deleteByPrimaryKey(Long comboCardEarningsSumId);

    int insert(ComboCardTotalEarnings record);

    int insertSelective(ComboCardTotalEarnings record);

    ComboCardTotalEarnings selectByPrimaryKey(Long comboCardEarningsSumId);

    int updateByPrimaryKeySelective(ComboCardTotalEarnings record);

    int updateByPrimaryKey(ComboCardTotalEarnings record);

    List<ComboCardTotalEarnings> selectByCombo(@Param("packageId") String packageId,
            @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("status") int status,
            @Param("firstRow") int i, @Param("maxRows") int pageSize);

    int getLastSelectTotalNum();

    ComboCardTotalEarnings selectSumByCombo(@Param("packageId") String packageId, @Param("beginTime") String beginTime,
            @Param("endTime") String endTime, @Param("status") int status);
}